package com.example.clxy.dao;

import com.example.clxy.entity.Unbind;
import com.example.clxy.result.business.PageResult.UnbindPageResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UnbindMapper {
    int deleteByPrimaryKey(String unbindid);

    int insert(Unbind record);

    int insertSelective(Unbind record);

    Unbind selectByPrimaryKey(String unbindid);

    int updateByPrimaryKeySelective(Unbind record);

    int updateByPrimaryKey(Unbind record);

    Unbind selectByAccount(String account);

    List<UnbindPageResult> getWechatBindApply(@Param("begin") int begin,
                                              @Param("end") int end,
                                              @Param("pagesize") int pagesize);

    List<UnbindPageResult> getWxApplyUnbindList(@Param("begin") int begin,
                                                @Param("end") int end,
                                                @Param("pagesize") int pagesize,
                                                @Param("account") String account);
}